package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/12/1
 * @time 下午4:19
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class Test {


    /**
     * code : 1
     * info : ok
     * data : {"bids":[{"price":"3530.09","amount":"548"},{"price":"3529.92","amount":"668"},{"price":"3529.72","amount":"812"},{"price":"3518.52","amount":"883"},{"price":"3517.55","amount":"568"}],"asks":[{"price":"3533.82","amount":"873"},{"price":"3534.66","amount":"1000"},{"price":"3592.99","amount":"938"},{"price":"3630.10","amount":"884"},{"price":"3641.22","amount":"577"}]}
     */

    private int code;
    private String info;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<BidsBean> bids;
        private List<AsksBean> asks;

        public List<BidsBean> getBids() {
            return bids;
        }

        public void setBids(List<BidsBean> bids) {
            this.bids = bids;
        }

        public List<AsksBean> getAsks() {
            return asks;
        }

        public void setAsks(List<AsksBean> asks) {
            this.asks = asks;
        }

        public static class BidsBean {
            /**
             * price : 3530.09
             * amount : 548
             */

            private String price;
            private String amount;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }
        }

        public static class AsksBean {
            /**
             * price : 3533.82
             * amount : 873
             */

            private String price;
            private String amount;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }
        }
    }
}
